package DecoratorPattern;

public class DecoratorPatternTest {
    public static void main(String[] args) {
        Shape circle = new Circle();
        Shape rectangle = new Rectangle();
        ShapeDecorator redCircle = new RedCircleDecorator(circle);
        ShapeDecorator bondRectangle = new BondRectangle(rectangle);
        redCircle.draw();
        bondRectangle.draw();
    }
}
